package edu.fiu.cis.personalize.server.berkDB.serializers;

import com.sleepycat.bind.tuple.TupleInput;
import com.sleepycat.bind.tuple.TupleOutput;

public class IntegerSetSerializer extends SetSerializer<Integer> {

	@Override
	protected Integer readElement(TupleInput ti) {
		return ti.readInt();
	}

	@Override
	protected void writeElement(TupleOutput to, Integer s) {
		to.writeInt(s);
	}

}
